package com.gomyb.result;

import lombok.Getter;
import lombok.Setter;

/**
 * @author <a href="mailto:HelloHeSir@gmail.com">Mr_He</a>
 */
@Getter
@Setter
public class NOResult extends Result {

    public NOResult() {
        this.setSuccess(false);
    }

    public NOResult setMessage(String message) {
        this.message = message;
        return this;
    }

    public NOResult setData(Object data) {
        this.data = data;
        return this;
    }

    public NOResult setCode(Integer code) {
        this.code = code;
        return this;
    }
}